package com.red.service;

import com.red.pojo.Result;
import com.red.pojo.entity.Order;

import java.util.List;
import java.util.Map;

public interface IOrderService {

    int insertOrder(Order order);

    List<Order> selectOrderList(Order order, int page, int size);

    int selectOrderCount(Order order);

    Order selectOrderByID(int id);

    Order selectOrderOfHouseWhichFighting(int houseId);

    Result selectOrderListV2(int userId);

    int updateOrder(Order order);

    Result payOrder(int userId, int orderId);

    int deleteOrderByID(int id);


}
